// styles/picture.scss

.picture-outer {
  background-color: #ffffff;
  border-radius: 12rpx;
  margin-bottom: 30rpx;
  overflow: hidden;
  box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;

  &:active {
    transform: scale(0.98);
  }
}

.image-section {
  position: relative;
  height: 400rpx;
  overflow: hidden;

  image {
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
  }

  .image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    color: #999;
  }
}

.title-section {
  padding: 20rpx;

  .title {
    font-size: 32rpx;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 10rpx;
    line-height: 1.4;
  }

  .author {
    font-size: 24rpx;
    color: #666;
    display: block;
  }
}

.description {
  padding: 0 20rpx;
  font-size: 28rpx;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20rpx;
}

.footer {
  padding: 10rpx 20rpx 20rpx;
  font-size: 24rpx;
  color: #999;
  text-align: right;
  border-top: 1rpx solid #f0f0f0;
}